package nz.ac.massey.jbuif.io;

import java.io.File;
import java.util.Collection;


/**
 * Class Data Store Adaptor Interface
 * @author AMIR H KIOUMARS
 *
 */
public interface IDataStoreAdapter {
	
	/**
	 * Load the bean objects
	 * @param file file name
	 * @return collection of objects from file
	 */
	Collection<Object> loadObjects(File file);
	
	/**
	 * Save the bean objects
	 * @param file file name
	 * @param objCollection objects collection to save
	 */
	void saveObjects(File file, Collection<Object> objCollection);
}
